﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Content.Web.ImageService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IImageService" in both code and config file together.
    [ServiceContract]
    public interface IImageService
    {
        [OperationContract]
        void UploadImage(Guid key, string fileName, string table, byte[] imageData);
        [OperationContract]
        Guid? FormatFromFileName(string fileName);
        [OperationContract]
        string ExtensionFromFormat(Guid format);
    }
}
